﻿namespace EnergyGeneratorSim
{
    using System;

    public static class Physics
    {
        public static double Epo { get; private set; }
        public static double Muo { get; private set; }
        public static double Lichtgesch { get; private set; }

        static Physics()
        {
            Epo = 8.854187817E-12 /*As/Vm*/; // Magnetische Feldkonstante
            Muo = 4 * Math.PI * 1E-7 /*Vs/Am*/; // Elektrische Feldkonstante
            Lichtgesch = Math.Sqrt(1 / Muo / Epo) /*m/s*/;
        }

        public static double Sqr(double val)
        {
            return val * val;
        }

    }
}
